import java.util.*;

public class Station {
	/* String for storing the station name */
	private String stationName;
	/* For storing the station code */
	private int stationCode;
	/* Location such as SE or NW */
	private String location;
	/*Latitude and Longitude*/
	private double latitude,longitude;
	/* Will contain the list of all the adjacent stations */
	/* To be filled whenever we fill a track */
	private ArrayList<Integer> adjacentStations;
	/*Variable to denote the name of the state*/
	private String state;
	/* Arraylist of a Track */
	private ArrayList<Integer> listOfTracks;
	/*
	 * Since Station is connected to trains in three ways, we create three
	 * arraylists
	 */
	/* This will be populated whenever we add a train */
	private ArrayList<Integer> sourceTrains;
	private ArrayList<Integer> destinationTrains;
	private ArrayList<Integer> intermediateTrains;

	/**/
	public Station() {
		adjacentStations = new ArrayList<Integer>();
		sourceTrains = new ArrayList<Integer>();
		destinationTrains = new ArrayList<Integer>();
		intermediateTrains = new ArrayList<Integer>();
		listOfTracks=new ArrayList<Integer>();
		state=null;
		latitude=0;
		longitude=0;
		
		
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public ArrayList<Integer> getSourceTrains() {
		return sourceTrains;
	}

	public void setSourceTrains(ArrayList<Integer> sourceTrains) {
		this.sourceTrains = sourceTrains;
	}

	public ArrayList<Integer> getDestinationTrains() {
		return destinationTrains;
	}

	public void setDestinationTrains(ArrayList<Integer> destinationTrains) {
		this.destinationTrains = destinationTrains;
	}

	public ArrayList<Integer> getIntermediateTrains() {
		return intermediateTrains;
	}

	public void setIntermediateTrains(ArrayList<Integer> intermediateTrains) {
		this.intermediateTrains = intermediateTrains;
	}

	public String getStationName() {
		return stationName;
	}

	public int getStationCode() {
		return stationCode;
	}

	public void setStationCode(int stationCode) {
		this.stationCode = stationCode;
	}

	public ArrayList<Integer> getAdjacentStations() {
		return adjacentStations;
	}

	public void setAdjacentStations(ArrayList<Integer> adjacentStations) {
		this.adjacentStations = adjacentStations;
	}

	public void setStationName(String stationName) {
		this.stationName = stationName;
	}

	public double getLatitude() {
		return latitude;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}

	public double getLongitude() {
		return longitude;
	}

	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public ArrayList<Integer> getListOfTracks() {
		return listOfTracks;
	}

	public void setListOfTracks(ArrayList<Integer> listOfTracks) {
		this.listOfTracks = listOfTracks;
	}
}
